package com.mxl.springsecurity.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MXL
 * @date 2022/3/9
 **/
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/sayHello")
    public Object sayHello(String name){
        return "hello" + name;
    }
}
